package com.gjintel.business.proj.service;

import java.util.Date;
import java.util.List;

import com.gjintel.business.proj.model.ProjectInfo;
import com.gjintel.business.proj.model.ProjectPause;
import com.gjintel.framework.user.model.User;
import com.gjintel.sdk.base.dao.Page;

public interface IProjectPauseService {
	
	/**
	 * @description 保存暂停申请
	 * @author shy
	 * @date 2016-9-1
	 */
    public void saveProjectPause(User user,ProjectPause projectPause,String result);
    
    /**
	 * @description 根据Id 获取暂停信息
	 * @author shy
	 * @date 2016-9-1
	 */
    public List<ProjectPause> getPrjectPause(String projectId,String category);
    
    
    /**
     * @description 获取项目列表
     * @author shy
     * @date 2016-9-1
     */
    public List<ProjectInfo> getProjectList(Page page,ProjectInfo project);
    
    /**
     * @description 业务管理员审核
     * @author shy
     * @date 2016-9-1
     */
    
 //   public void pauseAudit(User user,ProjectPause projectPause,String category);
    
    /**
     * @description  项目撤销
     * @author shy
     * @date 2016-9-2
     */
    public void projectRevoke(User user,ProjectPause projectPause,String category);
    
    /**
     * @description  项目流标
     * @author shy
     * @date 2016-9-2
     */
    public void projectFlow(User user,ProjectPause projectPause,String category);
    
    /**
     * @description  恢复项目
     * @author shy
     * @date 2016-9-2
     */
    
    public void projectRestore(User user,ProjectPause projectPause,String category,Date bidStartTime,ProjectInfo pro);
    
    
    /**
     * @description 业务管理员审核
     * @author shy
     * @date 2016-9-1
     */
    
    public void pauseAuditNew(User user,ProjectPause projectPause,String category);
    
    /**
     * @description 根据category,projectId 获取时间当前的暂停记录
     * @author shy
     * @date 2016-2-7
     */
    List<ProjectPause> getWorkingProjectPause(String category,String projectId);
    

    
    
}
